package org.example.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.UtuFollower;
import org.example.domain.UtuFollowing;

/**
 * 关注信息Mapper接口
 *
 * @author coderfun
 * @date 2024-12-04
 */
@Mapper
public interface UtuFollowingMapper {
    /**
     * 查询关注信息
     *
     * @param id 关注信息主键
     * @return 关注信息
     */
    public UtuFollowing selectUtuFollowingById(Long id);

    /**
     * 查询关注信息列表
     *
     * @param utuFollowing 关注信息
     * @return 关注信息集合
     */
    public List<UtuFollowing> selectUtuFollowingList(UtuFollowing utuFollowing);

    /**
     * 新增关注信息
     *
     * @param utuFollowing 关注信息
     * @return 结果
     */
    public int insertUtuFollowing(UtuFollowing utuFollowing);

    /**
     * 修改关注信息
     *
     * @param utuFollowing 关注信息
     * @return 结果
     */
    public int updateUtuFollowing(UtuFollowing utuFollowing);

    /**
     * 删除关注信息
     *
     * @param id 关注信息主键
     * @return 结果
     */
    public int deleteUtuFollowingById(Long id);

    /**
     * 批量删除关注信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUtuFollowingByIds(Long[] ids);

    List<UtuFollowing> selectFlowingList(UtuFollower utuFollower);

}
